void main()
{
	gl_Position = ftransform();
	//gl_TexCoord[0] = gl_MultiTexCoord0;
	vec4 vecPositionEye = gl_ModelViewMatrix * gl_Vertex;	
	gl_TexCoord[0] = vec4(dot(gl_EyePlaneS[0],vecPositionEye),dot(gl_EyePlaneT[0],vecPositionEye),dot(gl_EyePlaneR[0],vecPositionEye),dot(gl_EyePlaneQ[0],vecPositionEye));
}